Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename IR-stream related methods: #189

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

kirkrodrigues
Copy link
Member

@kirkrodrigues kirkrodrigues commented Dec 18, 2023

  • Change encode/decode to serialize/deserialize.
  • Change "message" to "log event" where appropriate.

Description

The IR stream methods in ffi::ir_stream use names like encode_message which is confusing when (1) we already have encode_message in the ffi namespace and (2) the IR stream methods are really serializing/deserializing rather than encoding/decoding. In addition, in several places we use message when we really mean log event. This PR resolves both issues.

Validation performed

Validated unit tests pass.

* Change encode/decode to serialize/deserialize.
* Change "message" to "log event" where appropriate.
@kirkrodrigues kirkrodrigues requested a review from wraymo December 18, 2023 21:24
Copy link
Contributor

@wraymo wraymo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@kirkrodrigues kirkrodrigues merged commit bb326b8 into y-scope:main Dec 20, 2023
5 checks passed
@kirkrodrigues kirkrodrigues deleted the rename-ir-stream-methods branch December 20, 2023 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants